﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web;

namespace ExpLib.Web.Extension
{
    public static class HttpRequestExtension
    {
        public static int GetInt(this HttpRequest request,String name)
        {
            return int.Parse(request.Params["name"]);
        }

        public static Guid GetGuid(this HttpRequest request, String name)
        {
            return Guid.Parse(request.Params["name"]);
        }
    }
}
